package com.wider.services;

import com.wider.pojo.MinAndMax;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author Maple
 */
public interface DataService {
    public MinAndMax getMinAndMax(List<BigDecimal> valueList);

    public BigDecimal getMeaningfulValues(MinAndMax minAndMax,BigDecimal referenceValue);

    public BigDecimal  formulaCalculation(BigDecimal meaningfulValues,BigDecimal referenceValue);

    public BigDecimal findMedian(List<BigDecimal> valueList);
}
